package com.xmut.eduservice.service.impl;

import com.xmut.eduservice.entity.AclUser;
import com.xmut.eduservice.mapper.AclUserMapper;
import com.xmut.eduservice.service.AclUserService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 用户表 服务实现类
 * </p>
 *
 * @author huangchaoqin
 * @since 2020-09-05
 */
@Service
public class AclUserServiceImpl extends ServiceImpl<AclUserMapper, AclUser> implements AclUserService {
    AclUser aclUser = new AclUser();
    @Override
    public AclUser ifLogin(String username, String password) {
        aclUser = baseMapper.selectUserByNameAndPassword(username,password);
        return aclUser;
    }


}
